package top.ywlog.permission.common.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;

/**
 * @author Durian
 * 分页参数
 */
@Getter
@Setter
public class PageQuery
{


    @Min(value = 1, message = "当前页码不合法")
    private int pageNo = 1;

    @Min(value = 1, message = "每页展示数量不合法")
    private int pageSize = 10;
}
